Tootsville::Endpoint-Get-/ Users/ Me/ Toots/ Toot-Name→Json

Function

Endpoint-Get-/ Users/ Me/ Toots/ Toot-Name→Json names a function, with lambda list (TOOT-NAME):

Gives detailed information about your Toot character TOOT-NAME.

This Toot must be owned by you (the logged-in user). You will receive details about your own Toot, like inventory, that are not available to other players.

Requires player authentication.

Status: 200 OK

Returns the JSON information as per TOOTSVILLE TOOT-INFO, including private information that is only available to the owner.

Note that the Last-Modified header will be set to the Toot's TOOTSVILLE TOOT-LAST-ACTIVE value.

Status: 401 Authorization Required

No user credentials were passed.

Status: 403 Authorization Failed

The user credentials presented were not recognized, or the Toot name given is not your Toot.

Status: 404 Not Found

The Toot name given was not registered.

Web Service Endpoint

This is a web service endpoint accessed by the HTTP method GET at the URI template /users/me/toots/:toot-name. It returns a content-type of application/json.

TOOT-NAME is a parameter from the URI.

It will report a slow response if it takes longer than 0.03 seconds (30 milliseconds) to complete.

File

Defined in file src/endpoints/slash-users.lisp.